<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="../../common/init_context.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>收银台跳转银行</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/reset.css" media="all" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/style.css" media="all" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/ui-lightness/jquery-ui-1.9.2.custom.css" media="all" />
<script type="text/javascript" src="${ROOT}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery.gopay.ext.js"></script>
<!--[if IE 6]> 
<script src="../javascripts/png_ie6fix.js" type="text/javascript"></script> 
<script type="text/javascript">
EvPNG.fix("div, span,a");
</script>

<![endif]-->

</head>
<body>
<%@include file="../cloudheader.jsp"%>
<div class="container1024">
	<div class="container960">
        <!-- 支付订单详情 -->
        <jsp:include page="payInfoHead.jsp" flush="true"></jsp:include>
	<div class="backgroundBox-1">
		<div class="borderBox-1">
            <form name="ToBisForm" id="ToBisForm" action="${bisUrl }/goBank.shtml" method="post" >
			<table class="table-tml">
				<tbody>
					<tr>
                        <td style="text-align: right"><label>支付银行：</label></td>
						<td style="text-align: left"><img width='190' height='36' src="${ctx }/BankIcon/${bank}.jpeg" /></td>
					</tr>
                    <tr>
                        <td style="text-align: right">
                            <input type="hidden" name="orderId" value="${orderId}">
                            <input type="hidden" name="amount" value="${amount}">
                            <input type="hidden" name="orderDate" value="${orderDate}">
                            <input type="hidden" name="userType" value="${userType}">
                            <input type="hidden" name="bank" value="${bank}">
                            <input type="hidden" name="payAccNo" value="${payAccNo}">
                            <input type="hidden" name="orderName" value="${orderName}">
                            <input type="hidden" name="bankBusProd" value="${bankBusProd}">
                            <input type="hidden" name="paymentAccInfo" value="${paymentAccInfo}">
                            <label id="custNO">${b2bLabelName}</label>：
                        </td>
                        <td style="text-align: left">
                            <input type="text" name="specialCode" id="specialCode">
                        </td>
                      </tr>
                      <tr>
                         <td></td>
                        <td style="text-align: left">
                            <button type="button" class="btn-1" onclick='submitToBis();'>提 交</button>
                        </td>
                    </tr>
                </tbody>
            </table>
            </form>
		</div>
	</div>
</div>
</div>
<%@include file="../../common/footer.jsp"%>
<script type="text/javascript">
    function submitToBis(){
        var labelName = '${b2bLabelName}';
        var specialCode = $("#specialCode").val();
        if($.trim(specialCode) == ''){
            alert("请输入 "+labelName);
        }else{
            $("#ToBisForm").submit();
        }
    }
</script>
